Closed Bug 318581 Opened 19 years ago Closed 15 years ago

Bottom borders on items inside <li> tags sometimes missing

Categories

(Core :: Web Painting, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cefrodrigues, Assigned: roc)

References

()

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

I've noticed that, since upgrading to Firefox 1.5, some items inside <code></code> blocks on DokuWiki generated pages are missing the bottom border. After some tests I concluded that this only happens when the "<pre></pre>" block generated from those "code" tags ends up inside a "<li></li>" block.

This works fine on other browsers and previous versions of Firefox.


Reproducible: Always

Steps to Reproduce:
1. Go to the URL mentioned above
2. Look at item "5" on the "MacOS X and Apache" section.

Actual Results:  
The block is missing a (dashed) bottom border, but the other blocks are not.

Expected Results:  
All block should have a (dashed) bottom border.
Version: unspecified → 1.5 Branch
Assignee: nobody → roc
Component: General → Layout: View Rendering
Product: Firefox → Core
QA Contact: general → ian
Version: 1.5 Branch → 1.8 Branch
Attached file testcase
This seems like a rounding issue to me.
It might be useful to know when this regressed.
Keywords: testcase
The test case works fine. Maybe because the "pre" tags aren't inside "li" blocks.
Hmm, apparently the bug in the testcase only shows in my debug build.
Still happening with 1.5.0.1
This bug is still present in 1.5.0.3.
This page [http://s1x.homelinux.net/documents/ffox_glitches/] shows the same problem, also with "pre" elements but not inside a "li" block. I think this may be the same problem. (Tested with Fiefox 1.5.0.4 on Windows.)
attachment 207636 [details] WFM on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

The "Steps to Reproduce" no longer work as the document at the original URL has been altered.  http://s1x.homelinux.net/documents/ffox_glitches/ indicates some of the problems were fixed in 1.5.0.4.
The problem persists in Firefox 2.0.0.3, as you can see in attachment #261728 [details].
It appears to be fixed on trunk, somewhere in January 2006. Don't know if this bug should stay open (in case someone wants to fix it on branch).
Attached file reduced test case
I have reduced this test case down to a single HTML page, and the result is that I am not sure this is a rendering problem.  To illustrate this, change the dashed border from 1px to 2px to see that one pixel is then displayed.

div.dokuwiki pre {
..
border:2px dashed #8CACBB;
..
}
Attachment #261728 - Attachment is obsolete: true
I haven't seen this behavior for a while. This appears to be fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
No bug or patch referenced as the fix.
Resolution: FIXED → WORKSFORME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: